package edu.sctu.practice.class01.huangtianlin.text8;


/**
 * Created by Administrator on 2015/10/21.
 */
public class Car extends Vehicles {

    int seats;


    public Car(String brand, String color, int seats) {
        super(brand, color);

        this.seats = seats;

    }

    public void showCar() {

        System.out.println(brand + color + seats);

    }

}
